package cn.yzx.pethome.system.user.mapper;

import cn.yzx.pethome.system.user.domain.User;
import cn.yzx.pethome.base.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yzx
 * @since 2023-01-26
 */
@Repository
public interface UserMapper extends BaseMapper<User> {
    User findByEmail(String email);
    User findByPhone(String phone);
}
